package com.sz.biz.logistics.core.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * Function: ProductCustomerDto. <br>
 * Date: 2017年04月25日 14:16 <br>
 * Author: wentao.chang
 */
public class ProductCustomerDto {
    /**
     * 主键id
     */
    private Integer id;

    /**
     * uid
     */
    private String uid;
    /**
     * 名称
     */
    private String name;

    /**
     * 预估时效
     */
    private BigDecimal estimatedTime;
    /**
     * 预估时效单位
     */
    private String estimatedUnit;
    /**
     * 编码
     */
    private String code;
    /**
     * 产品介绍
     */
    private String introduction;

    /**
     * 产品组叶子节点id--回溯父节点
     */
    private Integer productGroupLeafId;

    /**
     * 产品备注
     */
    private String remarks;

    /**
     * 是否计体积
     */
    private Boolean isVolume;
    /**
     * 体积系数
     */
    private BigDecimal volumeFactor;
    /**
     * 体积规则取值方式
     * 实重和体积重取最大；实重和体积重取最小
     */
    private String weightValueTye;
    /**
     * 重量限制下限
     */
    private BigDecimal weightLimitMin;
    /**
     * 重量限制上限
     */
    private BigDecimal weightLimitMax;

    /**
     * 重量上限单位
     */
    private String weightLimitUnitCode;
    /**
     * 产品组名称
     */
    private String groupName;

    private String image;

    private List<ProductCargotypeRelDto> cargos = new ArrayList<>();

    private List<ProductServiceTypeDto> optionalServiceTypes = new ArrayList<>();

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getEstimatedTime() {
        return estimatedTime;
    }

    public void setEstimatedTime(BigDecimal estimatedTime) {
        this.estimatedTime = estimatedTime;
    }

    public String getEstimatedUnit() {
        return estimatedUnit;
    }

    public void setEstimatedUnit(String estimatedUnit) {
        this.estimatedUnit = estimatedUnit;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Integer getProductGroupLeafId() {
        return productGroupLeafId;
    }

    public void setProductGroupLeafId(Integer productGroupLeafId) {
        this.productGroupLeafId = productGroupLeafId;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Boolean getVolume() {
        return isVolume;
    }

    public void setVolume(Boolean volume) {
        isVolume = volume;
    }

    public BigDecimal getVolumeFactor() {
        return volumeFactor;
    }

    public void setVolumeFactor(BigDecimal volumeFactor) {
        this.volumeFactor = volumeFactor;
    }

    public String getWeightValueTye() {
        return weightValueTye;
    }

    public void setWeightValueTye(String weightValueTye) {
        this.weightValueTye = weightValueTye;
    }

    public BigDecimal getWeightLimitMin() {
        return weightLimitMin;
    }

    public void setWeightLimitMin(BigDecimal weightLimitMin) {
        this.weightLimitMin = weightLimitMin;
    }

    public BigDecimal getWeightLimitMax() {
        return weightLimitMax;
    }

    public void setWeightLimitMax(BigDecimal weightLimitMax) {
        this.weightLimitMax = weightLimitMax;
    }

    public String getWeightLimitUnitCode() {
        return weightLimitUnitCode;
    }

    public void setWeightLimitUnitCode(String weightLimitUnitCode) {
        this.weightLimitUnitCode = weightLimitUnitCode;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public List<ProductCargotypeRelDto> getCargos() {
        return cargos;
    }

    public void setCargos(List<ProductCargotypeRelDto> cargos) {
        this.cargos = cargos;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public List<ProductServiceTypeDto> getOptionalServiceTypes() {
        return optionalServiceTypes;
    }

    public void setOptionalServiceTypes(List<ProductServiceTypeDto> optionalServiceTypes) {
        this.optionalServiceTypes = optionalServiceTypes;
    }
}
